package cn.fzkj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 排除单数据源配置
 * SpringBoot会默认自动装配 配置文件中`spring.datasource`成单数据源
 * 要想配置多数据源就得排除掉
 * 否则报错循环依赖
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class FzkjEverydayApplication {

    public static void main(String[] args) {
        SpringApplication.run(FzkjEverydayApplication.class, args);
    }

}
